package com.cloudkinto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2020/7/21
 */
@Data
@TableName("t_exchange_rate")
public class ExchangeRateDo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String bankCode;
    private String type;
    private Float rate;

    private String createTime;
    @TableLogic
    private Integer deleteFlag;

    public ExchangeRateDo() {
    }

    public ExchangeRateDo(String bankCode, String type, Float rate, String createTime) {
        this.bankCode = bankCode;
        this.type = type;
        this.rate = rate;
        this.createTime = createTime;
    }
}
